﻿using System;
using System.Collections;
using System.Windows.Forms;
using MPMovieCatalog.Domain;

namespace MPMovieCatalog.Service
{
    public interface IMovieService
    {
        bool Check();
        ArrayList FindAllMoviesShortInfo();
        MovieInfo FindMovieInfoById(long movieId);
        ArrayList FindMovieInfoByIds(ArrayList ids);
        ArrayList FindAvailableGenres(long movieId);
        ArrayList FindAvailableActors(long movieId);
        void UpdateMovieInfo(MovieInfo movieInfo, bool updatePicture);
        long InsertMovieInfo(MovieInfo movieInfo);
        void DeleteMovieInfo(MovieShortInfo movie);
        ArrayList GetShares();
        ArrayList GetFiles(string path, string filter);
    }
}
